package net.maku.im.convert;

import net.maku.im.entity.ImGroupMemberEntity;
import net.maku.im.vo.ImGroupMemberVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 群组成员
*
* @author Blue 
* @since 1.0.0 2024-07-14
*/
@Mapper
public interface ImGroupMemberConvert {
    ImGroupMemberConvert INSTANCE = Mappers.getMapper(ImGroupMemberConvert.class);

    ImGroupMemberEntity convert(ImGroupMemberVO vo);

    ImGroupMemberVO convert(ImGroupMemberEntity entity);

    List<ImGroupMemberVO> convertList(List<ImGroupMemberEntity> list);

}